﻿using ELTE.TFEG.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace System
{
    public static class DoubleEx
    {
        public static double ToRadian(this double value)
        {
            return (value / Const.HalfRotation) * Math.PI;
        }

        public static double Negate(this double value)
        {
            return -1 * value;
        }
    }
}
